@extends('layouts.homebase')
@section('tdk')
<title>{{$tdk['title']}}</title>
<meta name="keywords" content="{{$tdk['keywords']}}" />
<meta name="description" content="{{$tdk['description']}}" />
@endsection
@section('css')
@parent
<link rel="stylesheet" type="text/css" href="">
@endsection
@section('content')

<div class="row clearfix">
    <div class="col-md-8 column">
        <ul class="nav nav-tabs">
            <li class="{{isset($_GET['q'])?'':'active'}}"><a href="/">最新</a></li>
            <li class="{{isset($_GET['q'])?'active':''}}"><a href="?q=hot">最热</a></li>
            <li class="disabled"><a href="#">问答</a></li>
            <li class="dropdown pull-right">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle">下拉<strong class="caret"></strong></a>
                <ul class="dropdown-menu">
                    <li><a href="#">操作</a></li>
                    <li><a href="#">设置栏目</a></li>
                    <li><a href="#">更多设置</a></li>
                    <li class="divider"></li>
                    <li><a href="#">分割线</a></li>
                </ul>
            </li>
        </ul>
        <div class="list-group">
            @foreach($art as $item)
            <a href="/art/{{$item->art_id}}" class="list-group-item"><span style="float:right;color:#999;"><i class="icon ion-eye"></i> {{$item->view}} | <small>{{format_date($item->pubtime)}}</small></span>{{$item->title}}</a>
            @endforeach
        </div>
        @if($art->hasPages())
        <ul class="pagination">
            <li><a href="{{$art->previousPageUrl()}}" class="{{$art->currentPage()==1?'btn btn-large disabled':''}}"> < </a></li>
            <li><a href="#">{{$art->currentPage()}}</a></li>
            <li><a href="{{$art->nextPageUrl()}}"> > </a></li>
        </ul>
        @endif
    </div>
    <div class="col-md-4 column">
        @include('layouts.homeinfosubscribe')

        <p class="h-block"><strong>文章归档</strong>
            <ul class="h-block">
            @foreach($file as $item)
                <li>{{$item->time}} &nbsp &nbsp &nbsp &nbsp ({{$item->num}}篇)</li>
            @endforeach
            </ul>
        </p>
        <div class="h-clear"></div>
        <p class="h-block"><strong>文章标签</strong>
        <ul class="h-block">
            <li id="tagbox">@foreach($tags as $k=>$v) <a href="" target="_blank">{{$v}}</a> @endforeach </li>
        </ul>
        </p>
        <div class="h-clear"></div>
        <p class="h-block"><strong>友情链接</strong>
        <ul class="h-block">
            <li><a href="https://www.zongscan.com" target="_blank" title="侯体宗的博客">侯体宗的博客</a></li>
            <li><a href="https://www.caofox.com" rel="nofollow" target="_blank">烟雨瑟瑟的博客</a></li>
            <li><a href="https://www.chinavipseo.com" rel="nofollow" target="_blank">南京优化包年</a></li>
            <li><a href="https://www.emdoorpda.com" target="_blank">三防加固笔记本</a></li>
            <li><a href="https://www.weijunip.com" rel="nofollow" target="_blank">湖南地标申请</a></li>
            <li><a href="https://www.lan2020.cn" rel="" target="_blank">澜溪博客</a></li>
            <li><a href="http://www.xinzhonghope.com/" target="_blank">心中hope</a></li>
            <li><a href="" target="_blank">友链位</a></li>
        </ul>
        </p>
    </div>
</div>

@endsection
@section('js')
@parent
    <script src=""></script>
@endsection







